﻿@{
    ViewBag.Title = "Rules";
}

<h2>Rules</h2>
<div class="button" id="back">@Html.ActionLink("Back", "Help", "Help")</div>
<br />

<p style="width:90%;">
The rules section allows the creation and association of rules for the fund. Rules are broken down into category and group.
The rule category is the overall section in which the question is associated i.e. Audit.
The selection options provide a method fo selecting/viewing the current rules for a particular fund and group. If there are no items in the list below the selection
options then one can be created by clicking the "Create Rule" button.
</p>

<div class="CreateRuleOne"></div>
<p style="width:90%;">
When clicking on the "Create Rule" button the system presents a dialog do display the options availible to create a rule for the selected fund.
<ul>
    <li>
        In the Question Text area - Type the question as you would like it to display on a report or screen
    </li>
    <li>
        Select a expected answer type - this is the type of answer that need to be used you enable validation
    </li>
    <li>
        Select a category - this will load availible groups for the category association.
    </li>
    <li>
        Select a question category - the will associate the question to the relative group for validation.
    </li>
</ul>
</p>
<div class="CreateRuleFour"></div>
<p>
If there are not groups for the category then click the "Create group relationship" button to associate the question group with a category.
<ul>
    <li>
        Click "Save"  if the setup is complete
    </li>
</ul>
</p>

<div class="CreateRuleTwo"></div>

<p style="width:90%;">
To create a relationship for the question group click the "Create group relationship" button, and the system will display a dialog where you  can create the mapping for the category and the group.
</p>
<p style="width:60%;">
    <ul>
        <li>
            Write the name of the question group that you would like to create
        </li>
        <li>
            Select the category that you would like to associate the question group to.
        </li>
        <li>
            Click Save.
        </li>
    </ul>
</p>

<div class="CreateRuleThree"></div>


